package com.lightsaber.trade.cloth.service.archive;

import java.util.List;

import org.springside.modules.orm.Page;

import com.lightsaber.trade.cloth.entity.archive.ArchivedImage;
import com.lightsaber.trade.cloth.entity.category.Category;
import com.lightsaber.trade.cloth.entity.planning.Planning;

public interface ArchiveImageService {

    public Page<Planning> findPage(final Planning planning, final Page<Planning> page);

    public ArchivedImage get(final String id);

    public void archiveImage(Planning planning, ArchivedImage archivedImage)
            throws DuplicateNameException;

    public List<ArchivedImage> getByPlanningExercise(Category category);
}
